package com.own.business.irs.service;

import com.own.business.irs.model.UserInfoModel;

/**
 * ZlbAuthService
 *
 * @author chenxueli
 * @date 2022-09-08 17:16:00
 */
public interface ZlbAuthService {

    /**
     * 根据票据id获取token
     *
     * @param ticketId 票据id
     * @return token
     */
    String getTokenByTicketId(String ticketId);

    /**
     * 根据token获取用户信息
     *
     * @param token token
     * @return 用户信息
     */
    UserInfoModel getUserInfoByToken(String token);

}
